echo 'Press enter to initiate base installation'
read
echo 'Install utitlies'
sudo apt-get -y update
sudo apt-get -y install wget
sudo apt-get -y install mc
sudo apt-get -y install unzip
sudo apt-get -y install nano
sudo apt-get -y install openssh-server
sudo apt-get -y install nfs-common
echo 'Install files needed by vmware tools'
sudo apt-get -y install psmisc
sudo apt-get -y install build-essential
sudo apt-get -y install linux-headers-$(uname -r)
echo 'Initiate VMWare Tools installation from host and press enter'
read
echo 'Mounting cd and copying source files'
sudo mount /media/cdrom0
cp /media/cdrom0/*.gz /tmp
tar -zxvf /tmp/*.gz -C /tmp
echo 'Installing vmware tools and configuring/compiling'
sudo /tmp/vmware-tools-distrib/vmware-install.pl --default
echo 'Done base installation'